class Student {
    constructor(language) {
        this.language = language
    }
    speak() {
        console.log("I can speak" + this.language);
    }
}

const aliStudent = new Student('es7');
aliStudent 